home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 July / macformat-026.iso / mac / Shareware City / Science / µSim 1.0 folder / Libs / GeneralUsageUSA.r < prev    next >
Encoding:
Text File  |  1995-03-02  |  5.6 KB  |  282 lines  |  [TEXT/MMCC]

  1. /*
  2. Copyright © 1993,1994 by Fabrizio Oddone
  3. ••• ••• ••• ••• ••• ••• ••• ••• ••• •••
  4. This source code is distributed as freeware: you can copy, exchange, modify this
  5. code as you wish. You may include this code in any kind of application: freeware,
  6. shareware, or commercial, provided that full credits are given.
  7. You may not sell or distribute this code for profit.
  8. */
  9.  
  10.  
  11. #define NumTextLines        2
  12.  
  13. resource 'ALRT' (130, purgeable) {
  14.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  15.     130,
  16.     {    /* array: 4 elements */
  17.         /* [1] */
  18.         OK, visible, sound2,
  19.         /* [2] */
  20.         OK, visible, sound2,
  21.         /* [3] */
  22.         OK, visible, sound2,
  23.         /* [4] */
  24.         OK, visible, sound2
  25.     },
  26.     alertPositionMainScreen
  27. };
  28.  
  29. resource 'DITL' (130, purgeable) {
  30.     {    /* array DITLarray: 2 elements */
  31.         /* [1] */
  32.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  33.         Button {
  34.             enabled,
  35.             "OK"
  36.         },
  37.         /* [2] */
  38.         {TextTop, TextLeft, TextBottom, TextRight},
  39.         StaticText {
  40.             disabled,
  41.             "A general error ^0 has occurred; I hope you have a list of "
  42.             "error codes."
  43.         }
  44.     }
  45. };
  46.  
  47. #define NumTextLines        2
  48.  
  49. resource 'ALRT' (131, purgeable) {
  50.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  51.     131,
  52.     {    /* array: 4 elements */
  53.         /* [1] */
  54.         OK, visible, sound1,
  55.         /* [2] */
  56.         OK, visible, sound1,
  57.         /* [3] */
  58.         OK, visible, sound1,
  59.         /* [4] */
  60.         OK, visible, sound1
  61.     },
  62.     alertPositionMainScreen
  63. };
  64.  
  65. resource 'DITL' (131, purgeable) {
  66.     {    /* array DITLarray: 3 elements */
  67.         /* [1] */
  68.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  69.         Button {
  70.             enabled,
  71.             "Quit"
  72.         },
  73.         /* [2] */
  74.         {TextTop, TextLeft, TextBottom, TextRight},
  75.         StaticText {
  76.             disabled,
  77.             "Sorry, this application needs System 7.0 or later."
  78.         }
  79.     }
  80. };
  81.  
  82. #define NumTextLines        3
  83.  
  84. resource 'ALRT' (134, purgeable) {
  85.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  86.     134,
  87.     {    /* array: 4 elements */
  88.         /* [1] */
  89.         OK, visible, sound2,
  90.         /* [2] */
  91.         OK, visible, sound2,
  92.         /* [3] */
  93.         OK, visible, sound2,
  94.         /* [4] */
  95.         OK, visible, sound2
  96.     },
  97.     alertPositionMainScreen
  98. };
  99.  
  100. resource 'DITL' (134, purgeable) {
  101.     {    /* array DITLarray: 2 elements */
  102.         /* [1] */
  103.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  104.         Button {
  105.             enabled,
  106.             "OK"
  107.         },
  108.         /* [2] */
  109.         {TextTop, TextLeft, TextBottom, TextRight},
  110.         StaticText {
  111.             disabled,
  112.             "An error ^0 has occurred while processing an Apple Event; I "
  113.             "hope you have a list of error codes."
  114.         }
  115.     }
  116. };
  117.  
  118. #define NumTextLines        2
  119.  
  120. resource 'ALRT' (136, purgeable) {
  121.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  122.     136,
  123.     {    /* array: 4 elements */
  124.         /* [1] */
  125.         OK, visible, sound3,
  126.         /* [2] */
  127.         OK, visible, sound3,
  128.         /* [3] */
  129.         OK, visible, sound3,
  130.         /* [4] */
  131.         OK, visible, sound3
  132.     },
  133.     alertPositionMainScreen
  134. };
  135.  
  136. resource 'DITL' (136, purgeable) {
  137.     {    /* array DITLarray: 2 elements */
  138.         /* [1] */
  139.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  140.         Button {
  141.             enabled,
  142.             "Quit"
  143.         },
  144.         /* [2] */
  145.         {TextTop, TextLeft, TextBottom, TextRight},
  146.         StaticText {
  147.             disabled,
  148.             "Sorry, an error ^0 has occurred while initializing my windows."
  149.         }
  150.     }
  151. };
  152.  
  153. #define NumTextLines        2
  154.  
  155. resource 'ALRT' (137, purgeable) {
  156.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  157.     137,
  158.     {    /* array: 4 elements */
  159.         /* [1] */
  160.         OK, visible, sound3,
  161.         /* [2] */
  162.         OK, visible, sound3,
  163.         /* [3] */
  164.         OK, visible, sound3,
  165.         /* [4] */
  166.         OK, visible, sound3
  167.     },
  168.     alertPositionMainScreen
  169. };
  170.  
  171. resource 'DITL' (137, purgeable) {
  172.     {    /* array DITLarray: 2 elements */
  173.         /* [1] */
  174.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  175.         Button {
  176.             enabled,
  177.             "Quit"
  178.         },
  179.         /* [2] */
  180.         {TextTop, TextLeft, TextBottom, TextRight},
  181.         StaticText {
  182.             disabled,
  183.             "Sorry, an error ^0 has occurred while installing the Apple Event handlers."
  184.         }
  185.     }
  186. };
  187.  
  188. #define NumTextLines        2
  189.  
  190. resource 'ALRT' (500, purgeable) {
  191.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  192.     500,
  193.     {    /* array: 4 elements */
  194.         /* [1] */
  195.         OK, visible, silent,
  196.         /* [2] */
  197.         OK, visible, silent,
  198.         /* [3] */
  199.         OK, visible, silent,
  200.         /* [4] */
  201.         OK, visible, silent
  202.     },
  203.     alertPositionMainScreen
  204. };
  205.  
  206. resource 'DITL' (500, purgeable) {
  207.     {    /* array DITLarray: 2 elements */
  208.         /* [1] */
  209.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  210.         Button {
  211.             enabled,
  212.             "OK"
  213.         },
  214.         /* [2] */
  215.         {TextTop, TextLeft, TextBottom, TextRight},
  216.         StaticText {
  217.             disabled,
  218.             "Sorry, you cannot do this now. "
  219.             "Please dismiss the dialog box first."
  220.         }
  221.     }
  222. };
  223.  
  224. #define NumTextLines        4
  225.  
  226. resource 'ALRT' (501, purgeable) {
  227.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  228.     501,
  229.     {    /* array: 4 elements */
  230.         /* [1] */
  231.         OK, visible, silent,
  232.         /* [2] */
  233.         OK, visible, silent,
  234.         /* [3] */
  235.         OK, visible, silent,
  236.         /* [4] */
  237.         OK, visible, silent
  238.     },
  239.     alertPositionMainScreen
  240. };
  241.  
  242. resource 'DITL' (501, purgeable) {
  243.     {    /* array DITLarray: 2 elements */
  244.         /* [1] */
  245.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  246.         Button {
  247.             enabled,
  248.             "OK"
  249.         },
  250.         /* [2] */
  251.         {TextTop, TextLeft, TextBottom, TextRight},
  252.         StaticText {
  253.             disabled,
  254.             "Sorry, you cannot do this now. "
  255.             "Please dismiss the dialog box first, "
  256.             "or try dragging the item onto the frontmost window."
  257.         }
  258.     }
  259. };
  260.  
  261. resource 'STR ' (320, purgeable) {
  262.     "Fabrizio Oddone <gspnx@di.unito.it>"
  263. };
  264.  
  265. resource 'STR ' (321, purgeable) {
  266.     "http://www.di.unito.it/pub/WWW/www_student/apple/FabrizioOddone/"
  267. };
  268.  
  269. resource 'STR#' (1200, purgeable) {
  270.     {
  271.         /* [1] e-mail */
  272.             "Copies the author’s e-mail address; "
  273.             "paste it in your favorite electronic mail application.",
  274.         /* [2] WWW */
  275.             "Copies the author’s World Wide Web Home Page address "
  276.             "(in the Universal Resource Locator style). "
  277.             "Use it with applications such as MacWeb, Mosaic, NetScape. "
  278.             "The page may be empty or under construction.",
  279.     }
  280. };
  281.  
  282.